import { lazy } from "react";

let RouterList=[
    {
      path:"/all",
      component:lazy(()=>import("../page/all")),
      children:[
        {
          path:"/all/shoping",
          component:lazy(()=>import("../page/all/shoping")),
        },
        {
          path:"/all/pers",
          component:lazy(()=>import("../page/all/pers")),
        },
        {
          path:"/all/my",
          component:lazy(()=>import("../page/all/my")),
        },
        {
          path:"/all",
          to:"/all/shoping"
        }
      ]
      
    },
    {
      path:"/login",
      component:lazy(()=>import("../page/login"))
    },
    {
      path:"/",
      to:"/all"
    }
    
]
export default RouterList